package com.huadi.ssm.mapper;

import com.huadi.ssm.po.Project;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ProjectMapper {
    public Project findByName(String name);
    public int add(Project project);
    public int edit(Project project);
    public int delete(String ids);
    public List<Project> findList(Map<String,Object> queryMap);
    public List<Project> findAll();
    public int getTotal(Map<String,Object> queryMap);
    public List<Project> findByResearchid(String researchid);
    public Project findByID(Long projectid);
}
